/*    */ package com.hp.bon.sgw.core.processor;
/*    */ 
/*    */ import com.hp.bon.sgw.Constants;
/*    */ import com.hp.bon.sgw.core.CallParam;
/*    */ import com.hp.bon.sgw.util.dcc.DccAvpHelper;
/*    */ import com.hp.ocs.diameter.message.Message;
/*    */ import org.slf4j.Logger;
/*    */ 
/*    */ public class CongestionMsgProcessor extends Processor
/*    */ {
/*    */   public int process(CallParam callParam)
/*    */   {
/* 19 */     return 0;
/*    */   }
/*    */ 
/*    */   public int endProcess(CallParam callParam)
/*    */   {
/* 25 */     if (callParam.getRecvResponse() != null) {
/* 26 */       StringBuilder sb = new StringBuilder();
/* 27 */       Message cca = (Message)callParam.getRecvResponse();
/*    */ 
/* 29 */       int serviceResultCode = DccAvpHelper.getCCAMessageServiceResultCode(cca);
/* 30 */       sb.append("received successful congestion cca ,service result code :" + serviceResultCode);
/* 31 */       Constants.LOG.info(sb.toString());
/*    */     }
/* 33 */     return 0;
/*    */   }
/*    */ }

/* Location:           C:\Users\think\Desktop\sgw_2.1.jar
 * Qualified Name:     com.hp.bon.sgw.core.processor.CongestionMsgProcessor
 * JD-Core Version:    0.6.1
 */